QT       += core gui widgets multimedia multimediawidgets network
QT       += core gui  network
QT += xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += webenginewidgets
CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    AQI.cpp \
    BroswerPage.cpp \
    Browserrr.cpp \
    CardButton.cpp \
    ImagePage.cpp \
    Image_Viewer.cpp \
    MainPage.cpp \
    MusicPlayer.cpp \
    MyPage.cpp \
    MyVideoWidget.cpp \
    NavigationController.cpp \
    NavigationPage.cpp \
    SwipeStackWidget.cpp \
    Timer.cpp \
    VideoPage.cpp \
    WeatherPage.cpp \
    Weather_Forecast.cpp \
    citydata.cpp \
    global.cpp \
    main.cpp \
    mainwindow.cpp \
    CustomItemDelegate.cpp \
    PlayMode.cpp \
    musicpage.cpp \
    VideoPlayList.cpp \
    navigation.cpp \
    weather_icon.cpp \
    weather_icon.cpp \
    global_client.cpp \
    tcphelper.cpp \
    TcpTask.cpp \
    filesender.cpp \
    fileserver.cpp \
    client.cpp \
    home.cpp \
    chatdialog.cpp \
    sendfiledialog.cpp \
    receivefiledialog.cpp \
    ClientPage.cpp \
    tcptaskthread.cpp

HEADERS += \
    AQI.h \
    BroswerPage.h \
    Browserrr.h \
    CardButton.h \
    ImagePage.h \
    Image_Viewer.h \
    MainPage.h \
    MusicPlayer.h \
    MyPage.h \
    MyVideoWidget.h \
    NavigationController.h \
    NavigationPage.h \
    SwipeStackWidget.h \
    Timer.h \
    VideoPage.h \
    WeatherPage.h \
    Weather_Forecast.h \
    Weather_icon.h \
    citydata.h \
    dijkstra.h \
    geograph.h \
    global.h \
    mainwindow.h \
    CustomItemDelegate.h \
    PlayMode.h \
    musicpage.h \
    VideoPlayList.h \
    navigation.h \
    weather_icon.h \
    global_client.h \
    tcphelper.h \
    TcpTask.h \
    filesender.h \
    fileserver.h \
    client.h \
    home.h \
    chatdialog.h \
    sendfiledialog.h \
    receivefiledialog.h \
    ClientPage.h \
    tcptaskthread.h

FORMS += \
    Browser.ui \
    Image_Viewer.ui \
    MusicPlayer.ui \
    Weather_Forecast.ui \
    mainwindow.ui \
    navigation.ui \
    client.ui \
    home.ui \
    chatdialog.ui \
    sendfiledialog.ui \
    receivefiledialog.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    dataset.qrc \
    images.qrc \
    myResource.qrc \
    icon.qrc \
    res_cch.qrc \
    icon_client.qrc

DISTFILES += \
    global.

include (D:/lib/opencv.pri)
